use crate::core::entity::jump_url::JumpUrl;
use crate::router::dto::hot_update_info::HotUpdateInfo;
use serde::{Deserialize, Serialize};
use share::core::channel::Channel;
use share::core::native_version::NativeVersion;
use std::collections::HashMap;

#[derive(Serialize, Deserialize, Debug)]
pub struct GetChannelInfoResponse {
    pub name: Channel,
    pub latest_native_version: NativeVersion,
    pub min_native_version: NativeVersion,
    pub jump_url: JumpUrl,
    pub hot_update_settings: HashMap<NativeVersion, HotUpdateInfo>,
}
